function getDateTime()
{
	var now = new Date();
	    var year = now.getFullYear(); //getFullYear getYear
	    var month = now.getMonth();
	    var date = now.getDate();
	    var day = now.getDay();
	    var hour = now.getHours();
	    var minu = now.getMinutes();
	    var sec = now.getSeconds();
	    var week;
	    month = month + 1;
	    if (month < 10) month = "0" + month;
	    if (date < 10) date = "0" + date;
	    if (hour < 10) hour = "0" + hour;
	    if (minu < 10) minu = "0" + minu;
	    if (sec < 10) sec = "0" + sec;
	    
	    var time0 =time = year + "-" + month + "-" + date + " 00:00:00";
		var time1 =time = year + "-" + month + "-" + date + " 23:59:59";
     var dateTime=[];
	     dateTime.push(time0);
		 dateTime.push(time1);
		return dateTime;
       
}
